package com.es.www.absfactory.factory;

import com.es.www.absfactory.airConditioner.AirConditioner;
import com.es.www.absfactory.airConditioner.GreeAirConditioner;
import com.es.www.absfactory.Fridge.Fridge;
import com.es.www.absfactory.Fridge.GreeFridge;

/**
 * @Created by michangtao
 * @Date 2022/5/11 16:46
 * @Description
 */
public class GreeFactory implements AbstractFactory {
    @Override
    public Fridge createFridge() {
        return new GreeFridge();
    }

    @Override
    public AirConditioner createAirConditioner() {
        return new GreeAirConditioner();
    }
}
